<script>
	const reg = new RegExp('(^|&)openid=([^&]*)(&|$)', 'i');
	const search = window.location.search.split('?')[1] || '';
	const r = search.match(reg) || [];


	window.location.href =
		"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxad7d0097bf376997&redirect_uri=http%3A%2F%2Fwww.panzhuzhu.com%2Findex.html&response_type=code&scope=snsapi_userinfo&state="+(r[2]||"")+"#wechat_redirect";
</script>
